<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
<h1>一个精美的页面</h1>
<h2>我是鸿蒙传过来的对象</h2>
<button>点我试试看</button>
<script>
    document.querySelector('button').addEventListener('click',
        function(){
            //document.querySelector('h2').innerHTML=mk.sayHi
            mk.sayHi({name:'老牛',age:18})
            console.log(mk.queryUser())
        }
    )
</script>
</body>
<!-- 引入调试控制台 -->
<script src="https://cdn.staticfile.net/eruda/3.0.1/eruda.min.js"></script>
<script>eruda.init();</script>

</html>